import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入el与css
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app= createApp(App);
// 定义vue3的全局方法 config配置，global全局 Properties属性
app.config.globalProperties.$say = function(msg){alert(msg)}
// 使用el
app.use(ElementPlus);
app.use(store).use(router).mount('#app')
